package person;
import java.util.Scanner;
import mianji.zhu;
public class test {
	public static void main(String[] args) {
		Scanner r = new Scanner(System.in);
		double r2 = new Scanner(System.in).nextInt();
		yuan a1 = new yuan(r2,5);
		zhu a2 = new zhu(r2);
		
		System.out.println("园的半径："+a2.r);
		System.out.println("园的高度："+a1.h);
		System.out.println("园的面积："+a2.getarea());
		System.out.println("圆柱的表面积是："+a1.volume());
		System.out.println("圆柱的体积是："+a1.volume());
		System.out.println("圆锥的表面积："+a1.getarea());
		System.out.println("圆锥的体积是："+a1.getvolume());
	}
}
